package com.xy.blog.article.domain.dao;

import com.xy.blog.article.api.model.SpecialColumnQuery;
import com.xy.blog.article.domain.dao.model.ArticleSpecialColumnRelDO;
import com.xy.blog.article.domain.dao.model.SpecialColumnDO;
import com.xy.blog.core.dao.IBaseCommonDao;

import java.util.List;

/**
 * @author zanhonglei
 * @version V1.0
 * @Description:
 * @date 2020/7/17
 */
public interface ISpecialColumnDao  extends IBaseCommonDao<SpecialColumnDO, SpecialColumnQuery> {

    void saveRel(ArticleSpecialColumnRelDO item);

    List<ArticleSpecialColumnRelDO> selectRel(ArticleSpecialColumnRelDO item);

    void deleteRelBySpecialColumnId(Long id);

    void deleteRelByArticleId(Long id);

    void deleteRelById(Long id);
}
